package com.dao;

import com.entity.Login;
import com.entity.LoginUser;
import com.entity.UserRole;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author WZ
 * @version 1.0
 * @date 2021/8/23 10:11
 */
public interface LoginDao {

  public List<Login> login(String account);
   public List<LoginUser> findUser(String account);
   public List<UserRole> findRole(String userId);
   public List<UserRole> AllRole();
}
